@charset "utf-8";

/* original css */

body {
    background-color: #FAFFD4;
    font-family: sans-serif;
    line-height: 1.5;
}

/* header-------------------------------------------------------- */
header {
     width: 1000px;
     margin: 0 auto 90px;
     position: relative;
}

header h1 {
    text-align: center;
    padding: 30px 0 0;
}

header nav ul {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 32px;
    padding: 0 0 50px;
}

header span {
    color: #FAED00;
}

header nav ul li a:hover {
    text-decoration: underline double #FAED00;
}
header p {
    text-align: center;
}

.eyecatch {
    font-weight: bold;
    font-size: 64px;
}

.name {
    padding: 0 0 40px;
}

.eyecatchimg {
    padding: 0 0 40px;
    animation-name: Movie;
    animation-duration: 2s;
    animation-timing-function: ease;
}

@keyframes Movie {
    0%, 40%, 70% {
        scale: 0.8;
    }
    20%, 55%, 85% {
        scale: 1.2;
    }
    100% {
        scale: 1;
    }
}

.button {
    position: fixed;
    bottom: 20px;
    right: 100px;
}

.thank {
    font-size: 48px;
    font-weight: bold;
    rotate: 270deg;
    transform-origin: left bottom;
    position: absolute;
    left: -72px;
    bottom: 60px;
    animation-name: thankAnime;
    animation-duration: 8s;
    animation-iteration-count: infinite;
    transition-timing-function: ease-out;
}

@keyframes thankAnime {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    20% {
        transform: translateX(-50%);
        opacity: 0;
    }
    50% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}
/* ----------------------------------------------------------------header */


/*main---------------------------------------------------------- */
#profile, #works, #skills, #contact {
    font-size: 64px;
    font-weight: bold;
}

main span {
        color: #FAED00;
}

/* profile------------------------------------------------------------- */

main div.prof {
    width: 1200px;
    margin: 0 auto 18px;
}

#profile {
    text-align: center;
    margin: 0 0 14px;
}

.myprof {
    text-align: center;
    margin-top: 48px;
}

.myname {
    font-size: 32px;
    color: black;
    display: inline-block;
    margin: 0 0 50px;
}

.birth {
    font-size: 24px;
    color: black;
    display: inline-block;
    margin: 0 0 50px;
}

.sentence {
    color: black;
    font-size: 16px;
    width: 349px;
    margin: 0 auto;
    text-indent: 1em;
    text-align: left;
}

.glid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.item1 {
    grid-row: 1/2;
    grid-column: 1/2;
    margin-bottom: 58px;
}

.myprof {
    grid-row: 1/3;
    grid-column: 2/3;
}

.item2 {
    grid-row: 1/3;
    grid-column: 3/4;
    text-align: right;
}
.item3 {
    grid-row: 2/4;
    grid-column: 1/2;
}

/* profile--------------------------------------------------------------- */


/* works--------------------------------------------------------------- */

.Works {
    width: 1000px;
    margin: 0 auto 60px;
}

.works1, .webimg {
    margin-bottom: 1rem;
}

#works {
    text-align: center;
    margin-bottom: 50px;
}

.workslist {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}

.webimg img {
    width: 400px;
}

.webimg {
    height: 400px;
    overflow: hidden;
}

.webimg:hover {
    scale: 1.02;
    overflow: hidden scroll;
}

.webimg::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.worklistWeb {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 50px;
}


.tool {
    width: 400px;
    display: flex;
    justify-content: space-between;
}


.portfolioImg {
    border: 1px solid #000;
}

.workWeb a {
    color: blue;
    text-decoration: underline;
}

.workInfo {
    display: flex;
}
.InfoTool {
    gap: 10px;
}
/* works------------------------------------------------------------------- */


/* skills------------------------------------------------- */

.SKILLS {
    text-align: center;
    width: 1119px;
    margin: 0 auto 60px;
}

#skills {
    margin-bottom: 60px;
}
.skill_date {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.skillimg {
    margin-bottom: 55px; 
}

.skillcss {
    margin-bottom: 40px;
}

.skillai, .skillps {
    margin-bottom: 56.87px;
}

div section h3 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 30px;
}

.skill_date, section p {
    font-size: 20px;
    font-weight: bold;
}

/* skills-------------------------------------------- */

/* contact-------------------------------------------- */

.CONTACT {
    width: 1000px;
    margin: 0 auto 100px;
}

#contact {
    text-align: center;
}

form {
    font-size: 36px;
    font-weight: bold;
    text-indent: 1em;
}

.contact_date {
    display: flex;
    justify-content: space-between;
    gap: 101px;

}

input[type="text"],
input[type="email"],
textarea,
input[type="submit"]
 {
    border: 3px solid black;
    border-radius: 20px;
    width: 600px;
    padding: 3px 20px;
    font-weight: normal;
    font-size: 20px;
}


input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    background-color: #FAED00;
}

input[type="submit"]
{
    width: 100px;
    font-size: 24px;
    font-weight: bold;
    padding: 7px 26px;
}

input[type="submit"]:hover {
    background-color: #FAED00;
    scale: 1.05;
    transition-property: background-color, scale;
    transition-duration: 500ms;
}

.submit {
    text-align: right;
}

textarea {
    height: 350px;
    margin: 0 0 25px;
    resize: none;
}

.contactimg {
    margin-top: 59px;
}

/* contact---------------------------------------------------- */

/* footer---------------------------------------------- */

footer{
    background-color: #FAED00;
    text-align: center;
    padding: 31px 0 15px;
}

.topbutton {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 20px;
}

.topbutton:hover {
    text-decoration: underline double #000 ;
}

.poodle {
    font-weight: bold;
}

/* footer----------------------------------------------- */

